package org.brisling.oa.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseSubDomain;
import org.brisling.base.domain.inf.BaseSubDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 
 * <p>Title: OAHighValueSub</p>
 * <p>Description: 耗材采购模块耗材信息子表实体类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月21日 下午11:04:25
 */
@Entity
@Table(name=ConstSysParam.MODULE_OA_HIGHVALUE_SUB)
public class OAHighValueSub extends BaseSubDomain implements BaseSubDomainInf{

	
	//主表id(外键,集成自父类)
	//private Long mainId;
	//耗材信息
	private Long supply_id;
	
	private String supply_name;
	
	//规格型号
	private String specification_model;
	
	//计量单位
	private String measurement_units;
	
	//采购数量
	private Double purchase_num;
	
	//采购价格
	private Double purchase_price;
	
	//流水号
	private String serial_number;
	
	//供应商信息
	private Long supplier_id;
	
	private String supplier_name;

	

	public Long getSupply_id() {
		return supply_id;
	}

	public void setSupply_id(Long supply_id) {
		this.supply_id = supply_id;
	}

	public String getSupply_name() {
		return supply_name;
	}

	public void setSupply_name(String supply_name) {
		this.supply_name = supply_name;
	}

	public String getSpecification_model() {
		return specification_model;
	}

	public void setSpecification_model(String specification_model) {
		this.specification_model = specification_model;
	}

	public String getMeasurement_units() {
		return measurement_units;
	}

	public void setMeasurement_units(String measurement_units) {
		this.measurement_units = measurement_units;
	}

	public Double getPurchase_num() {
		return purchase_num;
	}

	public void setPurchase_num(Double purchase_num) {
		this.purchase_num = purchase_num;
	}

	public Double getPurchase_price() {
		return purchase_price;
	}

	public void setPurchase_price(Double purchase_price) {
		this.purchase_price = purchase_price;
	}

	public String getSerial_number() {
		return serial_number;
	}

	public void setSerial_number(String serial_number) {
		this.serial_number = serial_number;
	}

	public Long getSupplier_id() {
		return supplier_id;
	}

	public void setSupplier_id(Long supplier_id) {
		this.supplier_id = supplier_id;
	}

	public String getSupplier_name() {
		return supplier_name;
	}

	public void setSupplier_name(String supplier_name) {
		this.supplier_name = supplier_name;
	}	
	
	
}
